import { cxjsbGetZlzt } from '@/api/shenbao';
import { message } from 'ant-design-vue';
const fillingSteps = {
    namespaced: true,
    state: {
        sblist: []
    },
    mutations: {
        GET_SBLIST(state, data) {
            state.sblist = data;
        },
    },
    actions: {
        getStatus({ commit }, data) {
            cxjsbGetZlzt({
                cxj_cxj_id: data
            }).then(res=>{
                if (res.data.code === 200) {
                    commit('GET_SBLIST', res.data.result)
                } else {
                    message.warning(res.data.message)
                }
            })
        }
    }
}
export default fillingSteps